ThreePatch.fromQuads

Parameters

rects AtlasRect[3]

The regions that is used as reference for this three patch

tex IHipTexture

Texture reference for the regions

width int

Width of the resulting threepatch

height int

Height of the resulting threepatch

o ThreePatchOrientation

Orientation of the threepatch, default is inferred.

Return Value

Meta